package com.zkx.blogweb.mapper;

import com.zkx.blogweb.entity.Bolg;
import com.zkx.blogweb.entity.BolgExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface BolgMapper {
    int countByExample(BolgExample example);

    int deleteByExample(BolgExample example);

    int deleteByPrimaryKey(Integer blogId);

    int insert(Bolg record);

    int insertSelective(Bolg record);

    List<Bolg> selectByExample(BolgExample example);

    Bolg selectByPrimaryKey(Integer blogId);

    int updateByExampleSelective(@Param("record") Bolg record, @Param("example") BolgExample example);

    int updateByExample(@Param("record") Bolg record, @Param("example") BolgExample example);

    int updateByPrimaryKeySelective(Bolg record);

    int updateByPrimaryKey(Bolg record);

    void deleteByUserId(Integer blogId);
}